<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/system/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/system/css/public.css" media="all" />
</head>
<body>
<br>
<form class="layui-form" style="width:80%;">
    <input type="hidden" class="id" th:value="${postBean.id}">
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">岗位名称</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input name" placeholder="请输入名称" th:value="${postBean.name}">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">岗位描述</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input descr" placeholder="请输入描述" th:value="${postBean.descr}">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">评分</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input grade" placeholder="请输入评分" th:value="${postBean.grade}">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <a class="layui-btn layui-btn-sm" onclick="sub()">提交</a>
        </div>
    </div>
</form>
</body>
<script type="text/javascript" src="/system/layui/layui.js"></script>
<script type="text/javascript" src="/system/js/jquery-3.3.1.js"></script>
<script type="text/javascript" src="/post/edit.js"></script>
</html>